projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efdf7f
)
Add C-language keyword constants to C++
author
Daniel Colascione
<dancol@dancol.org>
Mon, 25 May 2015 20:51:35 +0000
(13:51 -0700)
committer
Daniel Colascione
<dancol@dancol.org>
Mon, 25 May 2015 20:51:35 +0000
(13:51 -0700)
* lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
keyword constants to C++.
lisp/progmodes/cc-langs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-langs.el
b/lisp/progmodes/cc-langs.el
index ee5a5a6503f1ea242c870288009ff8aed0e9a44c..07f5ef44d1143198212da397134d20e684881cf1 100644
(file)
--- a/
lisp/progmodes/cc-langs.el
+++ b/
lisp/progmodes/cc-langs.el
@@
-2400,7
+2400,7
@@
This construct is \"<keyword> <expression> :\"."
"false" "true") ; Defined in C99.
c++ (append
'("nullptr")
- (c-lang-const c-constant-kwds))
+ (c-lang-const c-constant-kwds
c
))
objc '("nil" "Nil" "YES" "NO" "NS_DURING" "NS_HANDLER" "NS_ENDHANDLER")
idl '("TRUE" "FALSE")
java '("true" "false" "null") ; technically "literals", not keywords